// 全局变量

#include <iostream>
using namespace std;

void GiveMe3Floats();

float a, b, c;

int main() {
    GiveMe3Floats();

    cout << "使用全局变量的GiveMe3Floats程序。\n";
    cout << "3个浮点数分别是 "
        << a << ", "
        << b << ", "
        << c << "\n";
}

void GiveMe3Floats() {
    a = 6.7f;
    b = 8.1f;
    c = 33.7f;
}